package com.mercator.client.graph;

public abstract class GenType implements Comparable<GenType>  {
	
	public enum Type{GENE,GENESET};
	public Type type;
	public String name;
	public int compareTo(GenType o) {
		return name.compareTo(o.name);
	}
	@Override
	public boolean equals(Object o){
		return this.name.equals(((GenType)o).name);
	}
	
	@Override 
	public int hashCode(){
		return this.name.hashCode();
	}

	
}
